package com.may.demo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @program: demo
 * @description:
 * @author: Bobby.Ma
 * @create: 2020-11-14 13:40
 **/
@Data
@Accessors(chain = true)
@TableName("`order`")
public class Order implements Serializable {
    private static final long serialVersionUID = 6693315105812439283L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String orderNo;

    private String orderAddr;

    private String addrName;

    private String addrPhone;

    private Short deleted;

    private LocalDateTime createTime;
}
